/*
 */

package com.railway.news.service;

import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.*;
import org.apache.commons.lang.StringUtils;

import com.railway.common.base.*;
import com.railway.common.util.*;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

import com.railway.news.model.*;
import com.railway.news.dao.*;
import com.railway.news.service.*;
import com.railway.news.vo.query.*;

/**
 * @author  jiangcheng
 * @version 1.0
 * @since 1.0
 */

public interface IMenuManager{
	
	public Page findPage(MenuQuery query);

	public Menu getById(java.lang.String id);
	
	public List<Menu> findAll();
	
	/** 根据id检查是否插入或是更新数据 */
	public void saveOrUpdate(Menu entity);
	
	/** 插入数据 */
	public void save(Menu entity);
	
	public void removeById(java.lang.String id);
	
	public void update(Menu entity);
	
	public boolean isUnique(Menu entity, String uniquePropertyNames);
	
	public List<Menu> findPageList(MenuQuery query);
	
	
}
